import moment from "moment";
const timeAgo = (time) => {
  moment.locale("zh-cn");
  return moment(time).fromNow();
};
export { timeAgo };
